package edu.sctu.java.consumer.case2;

public class ConfigB {
    private String name;

    public static class Builder implements IBuilder<ConfigB> {

        private ConfigB config;

        public Builder() {
            this.config = new ConfigB();
        }

        public ConfigB.Builder name(String name) {
            this.config.name = name;
            return this;
        }


        @Override
        public ConfigB build() {
            return config;
        }
    }
}
